﻿<div style="display: none;z-index:9999;" class="modal-backdrop fade in" id="loading">
    <div style="height:100%;width:100%; text-align:center;background:url(../../Content/img/loading.gif) center no-repeat;">
    </div>
</div>
<script type="text/javascript">
        var loading={
            t:0,
            start:function(){
                if (this.t<=0) {
                    $("#loading").show();
                }
                this.t=this.t+1;
            },
            end:function(){
                this.t=this.t-1;
                if (this.t<=0) {
                    $("#loading").hide();
                }
            }
        }
</script>
